type net/http.body
18 uses
net/http (current package)
server.go#L1087: if body, ok := req.Body.(*body); ok {
server.go#L1443: case *body:
server.go#L1760: body, ok := w.req.Body.(*body)
server.go#L2189: case *body:
server.go#L2205: case *body:
transfer.go#L567: t.Body = &body{src: internal.NewChunkedReader(r), hdr: msg, r: r, closing: t.Close}
transfer.go#L572: t.Body = &body{src: io.LimitReader(r, realLength), closing: t.Close}
transfer.go#L577: t.Body = &body{src: r, closing: t.Close}
transfer.go#L810: type body struct {
transfer.go#L830: func (b *body) Read(p []byte) (n int, err error) {
transfer.go#L840: func (b *body) readLocked(p []byte) (n int, err error) {
transfer.go#L910: func (b *body) readTrailer() error {
transfer.go#L965: func (b *body) unreadDataSizeLocked() int64 {
transfer.go#L972: func (b *body) Close() error {
transfer.go#L1013: func (b *body) didEarlyClose() bool {
transfer.go#L1021: func (b *body) bodyRemains() bool {
transfer.go#L1027: func (b *body) registerOnHitEOF(fn func()) {
transfer.go#L1036: b *body
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |